<?php
echo 'aa';
include 'conn.php';
$rs = mysql_query('SELECT * FROM `slider`');
$result = array();
while($row = mysql_fetch_object($rs)){
	array_push($result, $row);
}

echo json_encode($result);
?>

